import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const Demo = Vue.extend({})
const d = new Demo()
Vue.prototype.eventBus = d;

const app = new Vue({
    ...App
})
app.$mount()
// #endif


import uView from "uview-ui";
Vue.use(uView);

import twohandbook from 'components/twohandbook/twohandbook.vue';
import purchasemode from 'components/purchasemode.vue'
import Tabs from 'components/Tabs.vue';
import goodsList from 'components/goodsList.vue';
import soldOutList from 'components/soldOutList.vue';
import goodsListIndex from 'components/goodsListIndex.vue';

Vue.component('twohandbook',twohandbook);
Vue.component('purchasemode',purchasemode)
Vue.component('goodsList',goodsList)
Vue.component('soldOutList',soldOutList)
Vue.component('Tabs',Tabs)
Vue.component('goodsListIndex',goodsListIndex)

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif